package com.guodi.model.vo;

import com.guodi.model.entity.IdtFillValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 指标填报任务指标表
 */
@Data
@ApiModel(value="指标填报任务指标表")
public class ApiIndicatorsFillTaskVo implements Serializable {

    @ApiModelProperty(value = "排序")
    private String sort;

    @ApiModelProperty(value = "指标id")
    private String indicatorsId;

    @ApiModelProperty(value = "机构id")
    private String orgId;

    @ApiModelProperty(value = "指标项自定义编码")
    private String indicatorsCustomCode;

    @ApiModelProperty(value = "指标预警配置")
    private String warnRuleConfig;

    @ApiModelProperty(value = "评估规则配置")
    private String estimateRuleConfig;

    @ApiModelProperty(value = "指标名称")
    private String idtName;

    @ApiModelProperty(value = "指标编码")
    private String idtCode;

    @ApiModelProperty(value = "指标类型")
    private String idtType;

    @ApiModelProperty(value = "指标内涵")
    private String idtConnotation;

    @ApiModelProperty(value = "责任单位")
    private String idtDutyCompany;

    @ApiModelProperty(value = "责任处室")
    private String idtDutyDepartment;

    @ApiModelProperty(value = "基础数据")
    private String idtBaseData;

    @ApiModelProperty(value = "基础数据来源")
    private String idtBaseDataSource;

    @ApiModelProperty(value = "预警规则id")
    private String idtWarnRuleId;

    @ApiModelProperty(value = "指标单位")
    private String idtUnit;

    @ApiModelProperty(value = "指标属性（CONSTRAINT：约束性，EXPECT：预期性）")
    private String idtAttribute;

    @ApiModelProperty(value = "指标范围（ALL：全域、CITY：城区）")
    private String idtScope;

    @ApiModelProperty(value = "数据来源（HAND：手动录入，FORMULA：公式计算，MODEL：模型结果）")
    private String idtDatasource;

    @ApiModelProperty(value = "计算公式")
    private String calculateFormula;

    @ApiModelProperty(value = "复合指标计算公式")
    private String calculateResult;

    @ApiModelProperty(value = "指标填报值")
    private IdtFillValue fillValue;

    @ApiModelProperty(value = "复合指标")
    private List<ApiIndicatorsFillTaskVo> calculateList;

}
